
function clickSimpleTab(me,boxid){
	for(var i=0;;i++){
		var col = document.getElementById(boxid+"_col_"+i);
		var div = document.getElementById(boxid+"_div_"+i);
		if(col == null){
			return ;
		}

		if(col.id == me.id){
			col.className = "simplcoltab stfocus";
			div.className = "simpldivtab stfocus";
		}else{
			col.className = "simplcoltab stdark";
			div.className = "simpldivtab stdark";
		}
		var content = document.getElementById(boxid+"_body_"+i);
		if(content != null){
			content.style.display = col.id == me.id ? "block" : "none" ;
		}
	}
}